﻿using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhaoxi.NLogSample.NoIOCLog
{
    public class Log
    {
        /// <summary>
        /// 使用默认的日志记录目标
        /// </summary>
        public static readonly ILogger logger = LogManager.GetCurrentClassLogger();
        /// <summary>
        /// 获取指定的日志记录目标
        /// </summary>
        public static readonly ILogger logger2 = LogManager.GetLogger("logfile3");
    }
}
